﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace DemoDAL
{
    public class ModelMenu
    {
        public ToolStripItem[] GetMenu()
        {
            ToolStripItem[] titems = new ToolStripItem[3];
            for (int i = 0; i < titems.Length; i++)
            {
                titems[i] = new System.Windows.Forms.ToolStripMenuItem()
                {
                    Name = "ToolStripItem" + i + 1,
                    Size = new System.Drawing.Size(45, 21),
                    Text = "菜单" + i + 1
                };
            }
            return titems;
        }

    }
}
